/**
 * Created by lcfevr on 16/8/22.
 */

var routes=[{
  path:'/',
  redirect:'/chub/list/1/0'
},{
  path:'*',
  redirect:'/chub/list/1/0'
}];
var req=require.context('./projects/content-hub',true,/.*route\.js$/);

req.keys().forEach(p => {
  var r = req(p);
  routes.push(...r.default);

});
console.log(routes);
export default routes;
